]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
calendar: Don't forget to rebuild the calendar
authorVolker Sobek <reklov@live.com>
Mon, 3 Mar 2014 01:48:25 +0000 (02:48 +0100)
committerVolker Sobek <reklov@live.com>
Wed, 5 Mar 2014 19:14:56 +0000 (20:14 +0100)
Don't forget to rebuild the calendar when changing the setting
'org.gnome.shell.calendar show-weekdate'. This wasn't happening anymore
and changing the setting resulted in a calendar without the days
grid.

https://bugzilla.gnome.org/show_bug.cgi?id=725533

js/ui/calendar.js

index a3451cb622f2d9ba3925e09f084f5af446b28c73..0a50138917301a4d4a7a6ffec3fa41d1d2b4a32c 100644 (file)
@@ -548,6 +548,7 @@ const Calendar = new Lang.Class({
     _onSettingsChange: function() {
         this._useWeekdate = this._settings.get_boolean(SHOW_WEEKDATE_KEY);
         this._buildHeader();
+        this._rebuildCalendar();
         this._update();
     },